package com.czy.booktest02.demos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czy.booktest02.demos.pojo.dto.PublisherUpdateDto;
import com.czy.booktest02.demos.pojo.po.Publisher;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface PublisherMapper extends BaseMapper<Publisher> {
    int addPublisher(String publisherName);

    int deletePublisher(int publisherId);

    int updatePublisher(PublisherUpdateDto publisherUpdateDto);

    Publisher getPublisher(String publisherName);
}
